package com.gu.service;

import com.gu.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gu.entity.vo.ChapterVo;

import java.util.List;

/**
 *
 */
public interface EduChapterService extends IService<EduChapter> {

    List<ChapterVo> getChapters(String courseId);

    boolean deleteChapterByChapterId(String chapterId);

    String saveChapter(ChapterVo chapterVo);

    boolean updateById(String chapterId, ChapterVo chapterVo);

    boolean removeByCourseId(String courseId);
}
